home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
mongol_fiere.swf
/
scripts
/
frame_9
/
PlaceObject2_105_115
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2007-01-15
|
922b
|
47 lines
onClipEvent(enterFrame){
if(_root.L1 == 1 and _root.L1s == 0)
{
_root.leson.gotoAndPlay(2);
_root.L1s = 1;
}
if(_root.L2 == 1 and _root.L2s == 0)
{
_root.leson.gotoAndPlay(2);
_root.L2s = 1;
}
if(_root.L3 == 1 and _root.L3s == 0)
{
_root.leson.gotoAndPlay(2);
_root.L3s = 1;
}
if(_root.L4 == 1 and _root.L4s == 0)
{
_root.leson.gotoAndPlay(2);
_root.L4s = 1;
}
if(_root.L5 == 1 and _root.L5s == 0)
{
_root.leson.gotoAndPlay(2);
_root.L5s = 1;
}
if(Key.isDown(32) and _root.death == false)
{
_root.speed -= _root.upspeed;
}
else
{
_root.speed += 0.2;
}
if(20 >= _Y)
{
_Y = 21;
_root.speed *= -1;
}
if(_Y >= 190 and _root.death == false)
{
_Y = 189;
_root.speed *= -0.5;
}
_Y = _Y + _root.speed;
}